// mixins.js
import { useAppStore } from "@/store/app";
export default {  
  data() {  
    return {  
      mixinData: 'This is data from mixin'  
    };  
  },  
  onLoad() { 
	  //每个页面默认刚进入时触发loading加载状态
	  const useApp = useAppStore()
	  useApp.loadingHandler(true)
  },  
  methods: {  
    mixinMethod() {  
      console.log('This is a method from mixin');  
    }  
  }  
};
